<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml"  xmlns:shiro="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="fixed-table-toolbar">
                    <div class="columns pull-right" role="group">
                        <button class="btn btn-success" onclick="reLoad()">
                            <i class="fa fa-search" aria-hidden="true"></i>查询
                        </button>
                    </div>
                    <div class="pull-left search nopadding" style="size: 40%">
                        <input id="userName" name="userName" type="text" class="form-control" placeholder="用户名">
                    </div>
                    <div class="pull-left search nopadding" style="size: 40%">
                        <input id="mobile" name="mobile" type="text" class="form-control" placeholder="电话">
                    </div>
                    <input type="hidden" id="AuditStatus" value="1">
                    <input type="hidden" th:value="${orderId}" id="orderId">
                </div>
                <table id="deliverymanTable" data-mobile-responsive="true"></table>
                <div class="form-group text-center">
                    <div class="btn btn-danger" onclick="closeDow()"><i class="fa fa-remove"></i> 取消</div>
                </div>
            </div>
        </div>
    </div>
</div>
<div>
    <script type="text/javascript">
        var s_allot_goods_h = 'hidden';
    </script>
    <div shiro:hasPermission="order:waitSend:allot">
        <script type="text/javascript">
            s_allot_goods_h = '';
        </script>
    </div>
</div>
<div th:include="centre/manage/include::footer"></div>
<script type="text/javascript" src="/js/appjs/order/allotDeliveryman.js"></script>
<script type="text/javascript">
    function closeDow() {
        var index = parent.layer.getFrameIndex(window.name); // 获取窗口索引
        parent.layer.close(index);
    }
</script>
</body>
</html>

